package com.example.demo;

import java.awt.*;

public class person {
    private Integer name=2;


    public static void main(String[] args) {
        person person=new teacher();
        System.out.println(person.name);

    }
}
class teacher extends person{
    public Integer name=1;


}
